package com.bjpowernode.boss.db.mapper;

import cn.hutool.core.date.DateTime;
import com.bjpowernode.boss.db.domain.TradeOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjpowernode.boss.web.models.result.TradeOrderResult;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author shenlang
* @description 针对表【trade_order(roncoo pay 龙果支付 支付订单表)】的数据库操作Mapper
* @createDate 2024-05-28 10:40:23
* @Entity com.bjpowernode.boss.db.domain.TradeOrder
*/
public interface TradeOrderMapper extends BaseMapper<TradeOrder> {

    List<String> selectUserBySuccessOrder(@Param("beginDate") Date beginDate,@Param("endDate")Date endDate);

    List<TradeOrderResult> selectOrdersByUserNo(@Param("userNo")String userNo,@Param("beginDate")DateTime beginDate, @Param("endDate")DateTime endDate);
}




